package com.shou.zhnfyxt.controller;

import com.shou.zhnfyxt.entity.R;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RestController
@RequestMapping("user/error")
public class ErrorController {
    @PostMapping (value = "/tokenTest")
    public R<Integer> tokenExpired(){
        return R.success(666);
    }
}
